class UController < ApplicationController
    include AuthenticatedSystem
    before_filter :login_required
    
    def show
        @user = User.find_by_login(params[:username])
        if @user
            @users_urls = UsersUrls.find(:all, 
                :conditions => ["user_id=?", @user], :order => 'collected_at DESC')
        else
            @error = "没有该用户信息!"
            redirect_to :controller => 'error'
            return
        end
    end
end
